﻿using System;
using System.IO;
using System.Runtime.Serialization;

namespace Mono.Cecil
{
	// Token: 0x02000058 RID: 88
	[Serializable]
	public sealed class AssemblyResolutionException : FileNotFoundException
	{
		// Token: 0x17000040 RID: 64
		// (get) Token: 0x0600034A RID: 842 RVA: 0x00019E90 File Offset: 0x00018090
		public AssemblyNameReference AssemblyReference
		{
			get
			{
				return this.reference;
			}
		}

		// Token: 0x0600034B RID: 843 RVA: 0x000032E0 File Offset: 0x000014E0
		public AssemblyResolutionException(AssemblyNameReference reference) : this(reference, null)
		{
		}

		// Token: 0x0600034C RID: 844 RVA: 0x000032EC File Offset: 0x000014EC
		public AssemblyResolutionException(AssemblyNameReference reference, Exception innerException) : base(string.Format("Failed to resolve assembly: '{0}'", reference), innerException)
		{
			this.reference = reference;
		}

		// Token: 0x0600034D RID: 845 RVA: 0x00003309 File Offset: 0x00001509
		private AssemblyResolutionException(SerializationInfo info, StreamingContext context) : base(info, context)
		{
		}

		// Token: 0x040000D1 RID: 209
		private readonly AssemblyNameReference reference;
	}
}
